
<ul class="mdui-list" id="lay-menu-list">
    <li class="mdui-list-item mdui-ripple">
        <div class="mdui-list-item-avatar">
            <i class="mdui-icon material-icons">&#xe8d3;</i>
        </div>
        <div class="mdui-list-item-content">
            <div class="mdui-list-item-title">用户管理</div>
        </div>
    </li>
    <li class="mdui-divider-inset mdui-m-y-0"></li>
    <li class="mdui-list-item mdui-ripple">
        <div class="mdui-list-item-avatar">
            <i class="mdui-icon material-icons">&#xe8c1;</i>
        </div>
        <div class="mdui-list-item-content">
            <div class="mdui-list-item-title">Token管理</div>
        </div>
    </li>
    <li class="mdui-divider-inset mdui-m-y-0"></li>
</ul>
<script>
    var config = {total:10,fn:"p()",btn:btn()};
    initPage(config);
    initAuthBtn(config);
    var btn = {a:"1"};
    component.button(btn)
    function p() {
        setCurrent();
        alert(123123)
    }
    function btn() {
        var btn = '<button class="mdui-btn mdui-ripple mdui-btn-raised mdui-color-grey-700">Button</button> &nbsp;&nbsp;'+
            '<button class="mdui-btn mdui-ripple mdui-btn-raised mdui-color-grey-700">Button</button>';
        return btn;
    }
</script>